package com.sdy.resdir.biz.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgj
 * @since 2020-01-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="RdDbApp对象", description="")
public class RdDbApp extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId
    private Integer id;

    /**
     * 申请单号
     */
    @ApiModelProperty(value = "申请单号")
    private String applyNum;

    /**
     * rd_db_dict主键
     */
    @ApiModelProperty(value = "rd_db_dict主键")
    private Integer dbId;

    /**
     * item主键
     */
    @ApiModelProperty(value = "item主键")
    private Integer itemId;

    /**
     * 字段英文名
     */
    @ApiModelProperty(value = "字段英文名")
    private String eName;

    /**
     * 字段中文名
     */
    @ApiModelProperty(value = "字段中文名")
    private String cName;

    /**
     * 字段类型
     */
    @ApiModelProperty(value = "字段类型")
    private String fieldType;

    /**
     * 字段长度
     */
    @ApiModelProperty(value = "字段长度")
    private String fieldLength;

    /**
     * 字段精度
     */
    @ApiModelProperty(value = "字段精度")
    private String fieldAccuracy;

    /**
     * 是否主键（1.是 2.否）
     */
    @ApiModelProperty(value = "是否主键（1.是 2.否）")
    private Integer keywords;

    /**
     * 资源id
     */
    @ApiModelProperty(value = "资源id")
    private Integer resId;

    /**
     * 版本号
     */
    @ApiModelProperty(value = "版本号")
    private Integer versionNum;
}
